<admintpl file="header" />
<style type="text/css">
.pic-list li {
	margin-bottom: 5px;
}
</style>

</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:U('AdminCard/add',array('id'=>empty($item['id'])?'':$item['id']))}" target="_self">卡片充值</a></li>
		</ul>
		<form class="well form-search" method="post" action="#">
			<a class="btn btn-primary" style="float: right;margin-bottom:10px;" href="/public/批量充值模板.xlsx">下载模板</a>
		</form>
		<form action="{:U('AdminCard/batch_recharge_post')}" method="post" class="form-horizontal js-ajax-forms" enctype="multipart/form-data" onsubmit="return checkform();">
			<div class="row-fluid">
				<div class="span9">
					<table class="table table-bordered">

						<tr>
							<th>账户余额</th>
							<td><input type="text"  name="balance" id="balance" value="{$logistics.balance}" style="width: 400px" readonly> </td>
						</tr>

                        <!-- <tr>
                            <th>批量充值文件<span class="form-required">*</span></th>
                            <td><input type="file" class="require" name="recharge_file" id="recharge_file" value="" style="width: 400px" > </td>
                        </tr> -->
                        <tr>
                            <th>批量充值初始卡号<span class="form-required">*</span></th>
                            <td><input type="text" class="require" name="card_number" id="card_number" value="" style="width: 400px" ></td>
                        </tr>
                        <tr>
                            <th>充值卡片数量<span class="form-required">*</span></th>
                            <td><input type="text" class="require" name="card_number_plus" id="card_number_plus" value="" style="width: 400px" ></td>
                        </tr>
                        <tr>
                            <th>充值金额<span class="form-required">*</span></th>
                            <td><input type="text" class="require" name="recharge_price" id="recharge_price" value="" style="width: 400px" ></td>
                        </tr>
                    </table>
				</div>

			</div>
			<div class="form-actions">
                <input type="hidden" name="id" value="{$item.id}"/>
				<button class="btn btn-primary js-ajax-submit" type="submit">提交</button>
				<a class="btn" href="{:U('AdminCard/index')}">返回</a>
			</div>
		</form>
	</div>

	<script type="text/javascript" src="__PUBLIC__/js/common.js?5"></script>
	</body>
</html>